//播放器里面的接口
import request from '../request'

//获取音乐 url
/**
 * id:必选
 */
export function getSonUrl(data) {
  return request({
    url: '/song/url',
    method: 'get',
    params: data
  })
}

//获取音乐详情

export function getSondetail(data){
  return request({
    url: '/song/detail',
    method: 'get',
    params: data
  })
}

//获取音乐歌词
export function getSonLyrics(data){
  return request({
    url: '/lyric',
    method: 'get',
    params: data
  })
}
